﻿
using GYCTOAManagementSystemNewApi.Model.Entity;
using GYCTOAManagementSystemNewApi.Model.Enum.PayrollForm;
using GYCTOAManagementSystemNewApi.Model.Tool;
using System.Collections.Generic;
using System.ComponentModel;

namespace GYCTOAManagementSystemNewApi.Model.Request 
{
    public class AddLivingexpensesRequest
    {

        public Livingexpenses livingexpenses { get; set; }

        /// <summary>
        /// 获取细节
        /// </summary>
        public List<LivingexpensesInfo> Livingexpensesinfo { get; set; }
        
    }



    public class UpLivingexpensesRequest
    {

        /// <summary>
        /// 添加或者修改 0 修改 1 审核
        /// </summary>
        public int UpOrAudit { set; get; } = 0;
        public Livingexpenses livingexpenses { get; set; }

        /// <summary>
        /// 获取细节
        /// </summary>
        public List<LivingexpensesInfo> Livingexpensesinfo { get; set; }
        
    }

    /// <summary>
    /// 数据导出
    /// </summary>
    public class ExportLivingexpensesRequest
    {
        public int LivingeId { get; set; }
    }


    public class ExportRequestProp
    {

        public int LivingeId { get; set; }
        /// <summary>
        /// 生活费批次
        /// </summary>
        public string LivingeBatch { get; set; }

        /// <summary>
        /// 人员姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        ///   银行卡号
        /// </summary>
        [Description("银行卡号")]
        public string BankCardNumber { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal Money { get; set; }
    }


    /// <summary>
    /// 查询生活费状态
    /// </summary>
    public class SelLiving { 
    
    
    }

   /// <summary>
   /// 查询是否已经存在订单编号
   /// </summary>
    public class GetLivingexpensesUsersRequest
    {
        public string LivingeBatch { get; set; }
    }

    /// <summary>
    /// 检查当前项目批号是否已经结算
    /// </summary>
    public class CheckSettlementRequest
    {
        public string SettlementNumber { get; set; }
        public int? ProjectId { get; set; }
    }

    /// <summary>
    /// 添加开账
    /// </summary>
    public class SetSettlementRequest
    {
        public int OrderId { get; set; }
        /// <summary>
        /// 开账年份
        /// </summary>
        public string SettlementNumber { get; set; }
        public int  Projectid { get; set; }
    }
    
    public class GetLivingexpensesRequest:DataPage
    {

        public int? DateDay { get; set; } = 0;
        public int? DateMon { get; set; } = 0;
        public int? DateYear { get; set; } = 0;
        public int? OrderStatus { get; set; } = 0;

        public string? settlementNumber { get; set; } = "";
    } 
}
